﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DataModels" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DataModels" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" />
  <xs:complexType name="User">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q1:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Incomes" nillable="true" type="tns:ArrayOfIncome" />
          <xs:element minOccurs="0" name="Incomes1" nillable="true" type="tns:ArrayOfIncome" />
          <xs:element minOccurs="0" name="Outcomes" nillable="true" type="tns:ArrayOfOutcome" />
          <xs:element minOccurs="0" name="Outcomes1" nillable="true" type="tns:ArrayOfOutcome" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserType" nillable="true" type="tns:UserType" />
          <xs:element minOccurs="0" name="UserTypeId" type="xs:int" />
          <xs:element minOccurs="0" name="UserTypeReference" nillable="true" type="q1:EntityReferenceOfUserType1mq6ITjN" />
          <xs:element minOccurs="0" name="Username" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="ArrayOfIncome">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Income" nillable="true" type="tns:Income" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfIncome" nillable="true" type="tns:ArrayOfIncome" />
  <xs:complexType name="Income">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q2:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ActionType" nillable="true" type="tns:ActionType" />
          <xs:element minOccurs="0" name="ActionTypeId" type="xs:int" />
          <xs:element minOccurs="0" name="ActionTypeReference" nillable="true" type="q2:EntityReferenceOfActionType1mq6ITjN" />
          <xs:element minOccurs="0" name="Amount" type="xs:decimal" />
          <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="UserReference" nillable="true" type="q2:EntityReferenceOfUser1mq6ITjN" />
          <xs:element minOccurs="0" name="UsersId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Income" nillable="true" type="tns:Income" />
  <xs:complexType name="ActionType">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q3="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q3:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Income" nillable="true" type="tns:ArrayOfIncome" />
          <xs:element minOccurs="0" name="Outcome" nillable="true" type="tns:ArrayOfOutcome" />
          <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ActionType" nillable="true" type="tns:ActionType" />
  <xs:complexType name="ArrayOfOutcome">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Outcome" nillable="true" type="tns:Outcome" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOutcome" nillable="true" type="tns:ArrayOfOutcome" />
  <xs:complexType name="Outcome">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q4="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q4:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ActionType" nillable="true" type="tns:ActionType" />
          <xs:element minOccurs="0" name="ActionTypeId" type="xs:int" />
          <xs:element minOccurs="0" name="ActionTypeReference" nillable="true" type="q4:EntityReferenceOfActionType1mq6ITjN" />
          <xs:element minOccurs="0" name="Amount" type="xs:decimal" />
          <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="User" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="UserReference" nillable="true" type="q4:EntityReferenceOfUser1mq6ITjN" />
          <xs:element minOccurs="0" name="UsersId" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Outcome" nillable="true" type="tns:Outcome" />
  <xs:complexType name="UserType">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q5="http://schemas.datacontract.org/2004/07/System.Data.Objects.DataClasses" base="q5:EntityObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Id" type="xs:int" />
          <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Users" nillable="true" type="tns:ArrayOfUser" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="UserType" nillable="true" type="tns:UserType" />
  <xs:complexType name="ArrayOfUser">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="User" nillable="true" type="tns:User" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUser" nillable="true" type="tns:ArrayOfUser" />
  <xs:complexType name="ArrayOfActionType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ActionType" nillable="true" type="tns:ActionType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfActionType" nillable="true" type="tns:ArrayOfActionType" />
  <xs:complexType name="ArrayOfUserType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="UserType" nillable="true" type="tns:UserType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfUserType" nillable="true" type="tns:ArrayOfUserType" />
  <xs:complexType name="ArrayOfReport">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Report" nillable="true" type="tns:Report" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfReport" nillable="true" type="tns:ArrayOfReport" />
  <xs:complexType name="Report">
    <xs:sequence>
      <xs:element minOccurs="0" name="AType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SumOfAmount" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Report" nillable="true" type="tns:Report" />
</xs:schema>